﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 药物使用途径
    /// </summary>
    [Table("DRUG_MEDC_WAY")]
    public class DrugMedcWay : Entity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 药物使用途径编码
        /// </summary>
        [Column("DRUG_MEDC_WAY_CODG")]
        public string DrugMedcWayCodg { get; set; }

        /// <summary>
        /// 药物使用途径名称
        /// </summary>
        [Column("DRUG_MEDC_WAY_NAME")]
        public string DrugMedcWayName { get; set; }

        /// <summary>
        /// 药物使用途径类别代码
        /// </summary>
        [Column("DRUG_MEDC_WAY_TYPE_CODE")]
        public string DrugMedcWayTypeCode { get; set; }

        /// <summary>
        /// 药物使用途径类别名称
        /// </summary>
        [Column("DRUG_MEDC_WAY_TYPE_NAME")]
        public string DrugMedcWayTypeName { get; set; }

        /// <summary>
        /// 数据字典代码
        /// </summary>
        [Column("DATA_DICT_CODE")]
        public string DataDictCode { get; set; }

        /// <summary>
        /// 数据字典名称
        /// </summary>
        [Column("DATA_DICT_NAME")]
        public string DataDictName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        public DrugMedcWay()
        { 
            
        }

        public DrugMedcWay(string drugMedcWayCodg, string drugMedcWayName
            , string drugMedcWayTypeCode, string drugMedcWayTypeName, string dataDictCode, string dataDictName)
        {
            DrugMedcWayCodg = drugMedcWayCodg;
            DrugMedcWayName = drugMedcWayName;
            DrugMedcWayTypeCode = drugMedcWayTypeCode;
            DrugMedcWayTypeName = drugMedcWayTypeName;
            DataDictCode = dataDictCode;
            DataDictName = dataDictName;
        }
    }
}
